<template>
    <div class="theLaw-div">
        <div class="theLaw-head">
            GPC项目控制专业人士资格认证报名管理系统
            <div class="info-message">
                <!-- <img src="../../../static/img/aa.png" alt=""> -->
                <span>{{username}}</span>
                <img class="tc" src="../../../static/img/tc.png" alt="" @click="goOut()">
            </div>
        </div>
    </div>
</template>
<script>
import apiHttp from '../../api/index.js'
export default {
    data(){
        return{
            username:localStorage.getItem('username')
        }
    },
    methods:{
        goOut(){
            this.$router.push({
                name:'login'
            })
        }
    }
}
</script>

<style lang="less" scoped>
.theLaw-div{
    width: 100%;
    height: 100%;
    .theLaw-head{
        height: 70px;
        width: 100%;
        font-size: 24px;
        color: #fff;
        font-weight: bold;
        background-color: #5d2805;
        text-align: left;
        line-height: 70px;
        padding-left: 80px;
        background-image: url('../../../static/img/gh.png');
        background-repeat: no-repeat;
        background-position: 30px center;
        background-size: 45px;
        .info-message{
            height: 70px;
            float: right;
            padding-right: 100px;
            img:nth-child(1){
                width: 40px;
                height: 40px;
                margin-top: 15px;
                border-radius: 50%;
                float: left;
                margin-right: 30px;
            }
            span{
                font-size: 16px;
                line-height: 70px;
                float: left;
                margin-right: 30px;
            }
            .tc{
                width: 25px;
                height: 25px;
                margin-top: 22px;
                float: left;
                cursor: pointer;
            }
        }
    }
}
</style>

